import 'package:flutter/material.dart';

// 接受传入的参数
class FormPage extends StatefulWidget {
  Map arguments;
  FormPage({super.key, required this.arguments});

  @override
  State<FormPage> createState() => _FormPageState();
}

class _FormPageState extends State<FormPage> {
  @override
  void initState() {
    super.initState();
    print(widget.arguments);
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("表单"), // 获取定义的title
      ),
      body: const Center(
        child: Text("表单页面"),
      ),
    );
  }
}